<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>form</title>
    <!-- 基地标签 -->
    <base href="www.baidu.com" target="_blank">
</head>
<body>
    <h1>form</h1>
    <hr>

    <form action="1.php" name="myform" id="hh" >
    usernamr: <input type="text" value="320" name="username">
    <button type="submit"> 提交</button>
    <button type="reset"> 重置</button>
    </form>
        <!--在js中 可以通过name下的函数进行表单提交-->
    <button onclick="document.myform.submit()"> 提交(js) </button>
    <button onclick="document.myform.reset()">  重置(js) </button>



    <hr>
    <a href="../js01/index.html">去js01</a>
    <a href="../js05/index.html" target="_blank">去JS 05</a>
    <a href="./js05/index.html">去JS 05</a>
    <a href="http://www.acfun.cn/js05/index.html">去JS 05</a>


</body>
</html>